<%--
  Created by IntelliJ IDEA.
  User: ccb
  Date: 2022/12/12
  Time: 21:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>briup电子商务-登录页</title>
  <link rel="stylesheet" href="css/common.css"/>
  <link rel="stylesheet" href="css/style.css" />
  <script type="text/javascript">
    //原生js版本
    //获得dom对象
    window.onload =function () {
      let elementById = document.getElementById("msg");
      let msg = elementById.value;
      //判断
      if (msg) {
        alert(msg)
      }
    }
  </script>
</head>
<body>
<%--用来保存数据库存入的一些值--%>
<input id="msg" type="hidden" value="${msg}">
<div class="header1">
  <a href="#">
    <img src="images/logo.png">
  </a>
</div>
<div class="content1">	<!--背景颜色-->
  <div class="c1_box1"><!--背景图片-->
    <div class="login_box"><!--登陆框-->
      <div class="center1">
        <form action="userLogin" method="post">
          <h1>账号登陆</h1>
          <h2>公共场所请不要泄露您的密码，以防止账号丢失
          </h2>
          <div class="si_box">
            <span class="usr_icon"></span>
            <input type="text" name="name"/>
          </div>
          <!--分割条-->
          <div class="c10"></div>
          <div class="si_box">
            <span class="pwd_icon"></span>
            <input type="password" name="password"/>
          </div>
          <div class="fg_box">
            <a class="treg" href="register">立即注册</a>
          </div>
          <div class="sub_box">
            <input type="submit" value="登陆"/>
          </div>
        </form>
        <div>
          请使用合作网站账号登陆杰普电子商务网：
        </div>
        <div class="com_box">
          <span class="tencent"></span>

        </div>
      </div>
    </div>
  </div>
</div>
<div class="footer1">
  <div class="links">
    <a href="#">关于我们</a>|
    <a href="#">联系我们</a>|
    <a href="#">友情链接</a>|
    <a href="#">关于我们</a>|
    <a href="#">联系我们</a>|
    <a href="#">友情链接</a>
  </div>
  <div>
    沪ICP备1928832 杰普软件briup.com版权所有。
  </div>

  <img src="images/police.png">

</div>
</body>
</html>

